Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADMINAPI-1145] Admin API support for Keycloak #230

Merged
merged 7 commits into from
Feb 12, 2025
Merged

Conversation

jleiva-gap
Copy link

@jleiva-gap jleiva-gap commented Feb 12, 2025

  • Update appSettings parameters
  • Add code to enable/disable ConnectController
  • Add code to support JWT from an IDP
  • Create containers with Keycloak

Notes:

  • This change includes new compose files to test adminApi with keycloak with sample data. Also, you can use env-idp.example as a reference to create your .env

  • To generate a token you can use https://localhost/auth/realms/myrealm/protocol/openid-connect/token with these parameters
    image

  • The generated token could be use to authenticate the adminapi.

Copy link

github-actions bot commented Feb 12, 2025

🔍 Vulnerabilities of development:latest

📦 Image Reference development:latest
digestsha256:2c414a9b72cb149566db7e5c395511946df6af8ff102bcfae70c06686660525e
vulnerabilitiescritical: 0 high: 0 medium: 2 low: 0 unspecified: 1
platformlinux/amd64
size86 MB
packages542
📦 Base Image alpine:3
also known as
  • 3.20
  • 3.20.3
  • latest
digestsha256:33735bd63cf84d7e388d9f6d297d348c523c044410f553bd878c6d7829612735
vulnerabilitiescritical: 0 high: 0 medium: 2 low: 0 unspecified: 1
critical: 0 high: 0 medium: 2 low: 0 unspecified: 1openssl 3.3.2-r0 (apk)

pkg:apk/alpine/[email protected]?os_name=alpine&os_version=3.20

medium : CVE--2024--9143

Affected range<3.3.2-r1
Fixed version3.3.2-r1
Description

medium : CVE--2024--13176

Affected range<3.3.2-r2
Fixed version3.3.2-r2
Description

unspecified : CVE--2024--12797

Affected range<3.3.3-r0
Fixed version3.3.3-r0
Description

@jleiva-gap jleiva-gap changed the title Adminapi 1145 [ADMINAPI-1145] Admin API support for Keycloak Feb 12, 2025
Copy link

github-actions bot commented Feb 12, 2025

Test Results

6 tests   6 ✅  0s ⏱️
1 suites  0 💤
1 files    0 ❌

Results for commit 17529c9.

♻️ This comment has been updated with latest results.

@jleiva-gap jleiva-gap marked this pull request as ready for review February 12, 2025 14:46
Add appSettings parameters
Add code to enable/disable ConnectController
Add code to support JWT from an IDP
Update compose files to include a version that uses an IDP
Update parameters
Update documentation
Update gateway reference
Update parameters to include values to use an IDP
@@ -0,0 +1,47 @@
ADMIN_API_VIRTUAL_NAME=adminapi

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noticed that this file is named env-idp.example for pgsql, but for mssql it is .env-idp.example

@DavidJGapCR DavidJGapCR merged commit f8f3ab8 into main Feb 12, 2025
21 checks passed
@DavidJGapCR DavidJGapCR deleted the ADMINAPI-1145 branch February 12, 2025 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants